package org.example.myleet.a001;

public class Main {

    public static void main(String[] args) {
        House[] houses = new House[]{
                new House(47.5109, "F4-1"),
                new House(94.7760, "F4-2"),
                new House(108.3752, "F4-3"),
                new House(107.5247, "F4-4"),
                new House(90.6672, "F4-5"),
                new House(75.1705, "F4-6"),
                new House(103.9053, "F4-7"),
                new House(104.8182, "F4-8"),

                new House(71.2760, "F5-1"),
                new House(71.1424, "F5-2"),
                new House(108.3752, "F5-3"),
                new House(107.5247, "F5-4"),
                new House(66.1183, "F5-5"),
                new House(73.2212, "F5-6"),
                new House(103.9053, "F5-7"),
                new House(104.8182, "F5-8"),

                new House(119.4431, "F6-1"),
                new House(134.0785, "F6-2"),
                new House(134.3181, "F6-3"),
                new House(134.5381, "F6-4"),
                new House(70.1269, "F6-5"),
                new House(99.7876, "F6-6"),
        };
        Solution solution = new Solution();
        solution.solve(houses);
    }

    public static class House {
        double area;
        String name;

        public House(double area, String name) {
            this.area = area;
            this.name = name;
        }

        public double getArea() {
            return area;
        }

        public String getName() {
            return name;
        }
    }
}
